package com.feeyin.radar.crm.dao.impl;

import com.feeyin.radar.crm.dao.ContractUpdateHistoryDAO;
import com.feeyin.radar.crm.model.Contract;
import org.springframework.orm.ibatis.SqlMapClientTemplate;
import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport;

public class ContractUpdateHistoryDAOImpl extends SqlMapClientDaoSupport
  implements ContractUpdateHistoryDAO
{
  public boolean insertContractUpdateHistory(Contract contract)
  {
    Integer result = (Integer)getSqlMapClientTemplate().insert("insertContractUpdateHistory", contract);
    return result != null;
  }
}